package com.example.bean;

import java.util.List;

public class MovieInfo {
    private Integer cover;
    private String name;
    private List<Integer> star;
    private String score;

    public MovieInfo(Integer cover, String name, String score) {
        this.cover = cover;
        this.name = name;
        this.score = score;
    }



    public MovieInfo(String score) {
        this.score = score;
    }

    public Integer getCover() {
        return cover;
    }

    public void setCover(Integer cover) {
        this.cover = cover;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Integer> getStar() {
        return star;
    }

    public void setStar(List<Integer> star) {
        this.star = star;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "MovieInfo{" +
                "cover=" + cover +
                ", name='" + name + '\'' +
                ", star=" + star +
                ", score='" + score + '\'' +
                '}';
    }
}
